package OOP.oop2.Lesson_08.Ex000;

public class Foo {
    public Integer value;
    public static Integer count;
    static {
        count = 0;
    }
    public Foo(){
        count++;
    }
    public void printCount(){
        System.out.println(count);
    }
}
